take the integral of a constant